package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城页面的商品列点进去的商品详情页面模块对象 hometopic
 * 
 * @author ruoyi
 * @date 2022-12-08
 */
public class Hometopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long originalPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long presentPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String shop;

    /** 用户名 */
    @Excel(name = "用户名")
    private String address;

    /** 用户名 */
    @Excel(name = "用户名")
    private Long quantity;

    /** 用户名 */
    @Excel(name = "用户名")
    private Long sold;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String blurb;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOriginalPrice(Long originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public Long getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setPresentPrice(Long presentPrice) 
    {
        this.presentPrice = presentPrice;
    }

    public Long getPresentPrice() 
    {
        return presentPrice;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setShop(String shop) 
    {
        this.shop = shop;
    }

    public String getShop() 
    {
        return shop;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setSold(Long sold) 
    {
        this.sold = sold;
    }

    public Long getSold() 
    {
        return sold;
    }
    public void setBlurb(String blurb) 
    {
        this.blurb = blurb;
    }

    public String getBlurb() 
    {
        return blurb;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("originalPrice", getOriginalPrice())
            .append("presentPrice", getPresentPrice())
            .append("name", getName())
            .append("shop", getShop())
            .append("address", getAddress())
            .append("quantity", getQuantity())
            .append("sold", getSold())
            .append("blurb", getBlurb())
            .toString();
    }
}
